//
//  ComicClassifyCell.m
//  DaysComicSugar
//
//  Created by dlios on 15-4-22.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ComicClassifyCell.h"

@implementation ComicClassifyCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.classifyLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
        self.classifyLabel.layer.borderWidth = 1;
        self.classifyLabel.layer.cornerRadius = 5;
        self.classifyLabel.backgroundColor = [UIColor colorWithRed:arc4random() % 256 / 255.0 green:arc4random() % 256 / 255.0 blue:arc4random() % 256 / 255.0 alpha:1];
        [self.contentView addSubview:self.classifyLabel];
        [_classifyLabel release];
        self.classifyImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 30, 100, 130)];
        [self.contentView addSubview:self.classifyImageView];
        [_classifyImageView release];
    }
    return self;
}

@end
